package spring.aspectj.c02;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Fooc02Boot {
	public static void main(String[] args) throws Exception{
		ApplicationContext context=new ClassPathXmlApplicationContext("bean.xml", Fooc02Boot.class);
		FooServiceC02 serviceC02=(FooServiceC02) context.getBean("fooService");
		try {
			serviceC02.exe("aa");
		} catch (Exception e) {
		}
		
	}
}
